<?php

if ($query->num_rows() > 0) {
    $feedback = $query->row();
}

    $pattern = "%d/%m/%Y";
    $feedback_date = mdate($pattern, $feedback->feedback_date);
?>
<div id="wrapper-content" >
    <table class="titrepage" width="100%">
        <tr>
            <td >Détail recommandation</td>
        </tr>
    </table>

<?php echo form_open(site_url('admin/detail_feedback') . '/' . $feedback->id); ?>
<table align="center" class="list" width="60%">
    <tr>
        <td><label for="display_name">Client:</label></td>
        <td><?php echo $feedback->display_name;?></td>
    </tr>
    <tr>
        <td><label for="title">Titre:</label></td>
        <td><?php echo $feedback->title;?></td>
    </tr>
    <tr>
        <td><label for="content">Contenu:</label></td>
        <td><?php echo $feedback->content;?></td>
    </tr>
    <tr>
        <td><label for="feedback_date">Date:</label></td>
        <td><?php echo $feedback_date;?></td>
    </tr>
</table>
<?php echo form_close();?>
</div>